/**
 * Created by dell on 2016/3/25.
 */
var view4Module = angular.module('myApp.view4',['ngRoute']);


/*function view4Route($routeProvider){
    $routeProvider.when('/view4',{
        'templateUrl':'view4/view4.html',
        'controller':'View4Ctrl'
    })
}
view4Module.config(view4Route);*/
view4Module.config(['$routeProvider',function($routeProvider){
    $routeProvider.when('/view4',{
        'templateUrl':'commands/app/view4/view4.html',
        'controller':'View4Ctrl'
    });
}]);

view4Module.controller('View4Ctrl',['$scope',function($scope){
    $scope.xixi = {
        name:'hehe',
        age:8
    }
}]);